package com.sj.purchase.modules.cost.config.task.compute;

import com.sj.purchase.modules.cost.service.price.CostPriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Created by yangrd on 2017/10/26
 **/
@Component
class CostPriceTask {

    @Autowired
    private CostPriceService service;

    public void calculateTheCostPrice(Date date) {
        service.calculateTheCostPrice(date);
    }
}
